<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<h:form id="form_settings_footer" styleClass="form_settings_footer" >
	
		<p:dock id="dock_settings_footer" position="bottom" widgetVar="dockHeader" >
			
			<p:menuitem id="menuItem_home" icon="resources/images/home_dock.png" action="home" ajax="false">
				<f:setPropertyActionListener target="#{mainBean.currentPage}" value="news.xhtml" />
			</p:menuitem>
			
			<p:menuitem id="menuItem_settings_settings" icon="resources/images/settings_dock.png" rendered="#{permissionBean.logged}" 
				update=":panelgroup_settings_center" action="settings">
				<f:setPropertyActionListener target="#{mainBean.settingsPage}" value="#{null}" />
			</p:menuitem>
			
			<p:menuitem id="menuItem_settings_logout" icon="resources/images/logout_dock.png" action="#{mainBean.logout}" 
				ajax="false" rendered="#{permissionBean.logged}" process="@this" />
				
		</p:dock>

</h:form>
			
</html>